package com.sdry.utils;

import java.util.List;

/**
 * 
* @Title: TableResult.java
* @Package com.sdry.utils
* @Description: 返回结果集
* @author cb
* @date 2018年7月30日
* @version V1.0
 */
public class TableResult {

	/**总数*/
	private Integer total;
	
	/**集合*/
	private List<?> rows; 
	 

	public TableResult(Integer total, List<?> rows) {  
	 
        this.total = total;  
 
        this.rows = rows;  
 
    }
	

	public TableResult(long total, List<?> rows) {  
	 
        this.total = (int) total;  
	 
        this.rows = rows;  
	 
    }


	public TableResult() {
		// TODO Auto-generated constructor stub
	}


	public Integer getTotal() {
		return total;
	}


	public void setTotal(Integer total) {
		this.total = total;
	}


	public List<?> getRows() {
		return rows;
	}


	public void setRows(List<?> rows) {
		this.rows = rows;
	}
	
	




}
